package com.abel.quiz.services;

import com.abel.quiz.vo.UserInfoDomain;
import org.springframework.stereotype.Service;
import com.abel.quiz.po.UserInfoPo;
import com.abel.quiz.po.UserInfoPoCriteria;

/**
* @author abel.lin
* @date_time 2017-08-04 13:03
* @description
*/
@Service
public interface UserInfoService extends BaseService<UserInfoPo,UserInfoPoCriteria>{

    public UserInfoPo selectByLoginName(String loginName);

    public UserInfoDomain selectDomainById(String id);

    public int insertDomain(UserInfoDomain domain);

    public int updateDomainByPrimaryKey(UserInfoDomain domain);

    public int validUser(UserInfoDomain domain);

}
